package data;

import interfaces.IPersonne;

public class Personne implements IPersonne {
	
	String nom;
	int gold;
	int pdv;
	
	
	
	public Personne() {
		this.nom="";
	}



	public Personne(String nom, int gold, int pdv) {
		super();
		this.nom = nom;
		this.gold = gold;
		this.pdv = pdv;
	}



	/* (non-Javadoc)
	 * @see data.IPersonne#getNom()
	 */
	@Override
	public String getNom() {
		return nom;
	}



	/* (non-Javadoc)
	 * @see data.IPersonne#setNom(java.lang.String)
	 */
	@Override
	public void setNom(String nom) {
		this.nom = nom;
	}



	/* (non-Javadoc)
	 * @see data.IPersonne#getGold()
	 */
	@Override
	public int getGold() {
		return gold;
	}



	/* (non-Javadoc)
	 * @see data.IPersonne#setGold(int)
	 */
	@Override
	public void setGold(int gold) {
		this.gold = gold;
	}



	/* (non-Javadoc)
	 * @see data.IPersonne#getPdv()
	 */
	@Override
	public int getPdv() {
		return pdv;
	}



	/* (non-Javadoc)
	 * @see data.IPersonne#setPdv(int)
	 */
	@Override
	public void setPdv(int pdv) {
		this.pdv = pdv;
	}



	@Override
	public String toString() {
		return "Personne [nom=" + nom + ", gold=" + gold + ", pdv=" + pdv + "]";
	}
	
	
	

}
